﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ShopFine.Models
{
    public class SupplierDAO
    {
        ShopFineEntities db;
        public SupplierDAO()
        {
            db = new ShopFineEntities();
        }

        public List<Supplier> GetAll()
        {
            return db.Suppliers.ToList();
        }
    }
}